﻿using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Sprout.Core;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Sprout.Schedule.Web.Models;

namespace Sprout.Schedule.Web.Controllers
{
    public class AdminController : BaseController
    {

        #region 视图
        [ApiExplorerSettings(IgnoreApi = true)]
        public async Task<IActionResult> Index()
        {
            ViewBag.UserName = base.LoginUser.UserName;
            return View();
        }

        #endregion
    }
}
